package geektime.spring.hello.commandline;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class CommandLineApplication {

  public static void main(String[] args) {
//		new SpringApplicationBuilder(CommandLineApplication.class)
//				.web(WebApplicationType.NONE)
//				.run(args);

    //根据 application.properties 里的配置来决定 WebApplicationType
    SpringApplication.run(CommandLineApplication.class, args);
  }

}
